import logo from './logo.svg';
import './App.css';
import { Route, Redirect } from "react-router-dom";
import Login from './pages/Login';
import Admin from "./layouts";
import NotFound from "@/pages/NotFound"
import { Switch } from 'react-router-dom/cjs/react-router-dom.min';

function App() {
  return (
    <>
      <Switch>
        
        <Route path="/Login" component={Login}></Route>
        <Route path="/Admin" component={Admin}></Route>
        <Route component={NotFound}></Route>
      </Switch>
    </>
  );
}

export default App;
